<cfcomponent output="false" alias="slr.components.cfgenerated.Medicao_Detail.TecnicaBean">
	<!---
		 These are properties that are exposed by this CFC object.
		 These property definitions are used when calling this CFC as a web services, 
		 passed back to a flash movie, or when generating documentation

		 NOTE: these cfproperty tags do not set any default property values.
	--->
	<cfproperty name="medicaoId" type="numeric" default="0">
	<cfproperty name="tecnicaId" type="numeric" default="0">
	<cfproperty name="tipoDisparoId" type="numeric" default="0">
	<cfproperty name="incidencia" type="numeric" default="0">
	<cfproperty name="tensao" type="numeric" default="0">
	<cfproperty name="corrente" type="numeric" default="0">

	<cfscript>
		//Initialize the CFC with the default properties values.
		variables.medicaoId = 0;
		variables.tecnicaId = 0;
		variables.tipoDisparoId = 0;
		variables.incidencia = 0;
		variables.tensao = 0;
		variables.corrente = 0;
	</cfscript>

	<cffunction name="init" output="false" returntype="TecnicaBean">
		<cfreturn this>
	</cffunction>
	
	<cffunction name="getMedicaoId" output="false" access="public" returntype="any">
		<cfreturn variables.MedicaoId>
	</cffunction>

	<cffunction name="setMedicaoId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.MedicaoId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getTecnicaId" output="false" access="public" returntype="any">
		<cfreturn variables.tecnicaId>
	</cffunction>

	<cffunction name="setTecnicaId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.tecnicaId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getTipoDisparoId" output="false" access="public" returntype="any">
		<cfreturn variables.TipoDisparoId>
	</cffunction>

	<cffunction name="setTipoDisparoId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.TipoDisparoId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getIncidencia" output="false" access="public" returntype="any">
		<cfreturn variables.incidencia>
	</cffunction>

	<cffunction name="setIncidencia" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.incidencia = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getTensao" output="false" access="public" returntype="any">
		<cfreturn variables.tensao>
	</cffunction>

	<cffunction name="setTensao" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.Tensao = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getCorrente" output="false" access="public" returntype="any">
		<cfreturn variables.corrente>
	</cffunction>

	<cffunction name="setCorrente" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.corrente = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>
	
</cfcomponent>